package collections.collection.list.ArrayList;

/**
 * @author zxl
 * @version 1.0
 * @date 2021/11/3 9:19
 */
public class Test2 {
    public static void main(String[] args) {
        String a = "abc";
        String b = "acd";
        int i = a.compareTo(b);
        System.out.println(i);
    }
}
